package org.easyupdater;

import java.util.Set;

import org.easyupdater.model.BundleSpec;

/**
 * Interface which exposes the methods that deal with OSGi update operations.
 * 
 * @author Bogdan Dimitriu
 */
public interface IOsgiBundleHandler {

	boolean removeBundle(BundleSpec bundleSpec);

	boolean installBundle(BundleSpec bundleSpec);

	boolean startBundles(Set<BundleSpec> bundles);

	void stopBundles(Set<BundleSpec> bundles);
}
